package com.mlan.userap.model;

public class MsgFileInfo {
    /**
     * 附件名称
     */
    private String resname;

    /**
     * 附件地址
     */
    private String resurl;

    /**
     * 附件类型 2:图片  3:音频 4:视屏 5:文件
     */
    private int restype;

    /**
     * 时长： 视屏 语音  有用
     */
    private int time;

    /**
     * 缩略图  视屏 图片 有用
     */
    private  String thumimg;

    public MsgFileInfo(String resname, String resurl, int restype) {
        this.resname = resname;
        this.resurl = resurl;
        this.restype = restype;
        time=0;
    }

    public String getResname() {
        return resname;
    }

    public void setResname(String resname) {
        this.resname = resname;
    }

    public String getResurl() {
        return resurl;
    }

    public void setResurl(String resurl) {
        this.resurl = resurl;
    }

    public int getRestype() {
        return restype;
    }

    public void setRestype(int restype) {
        this.restype = restype;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public String getThumimg() {
        return thumimg;
    }

    public void setThumimg(String thumimg) {
        this.thumimg = thumimg;
    }
}
